package top.tagao.m03_beHavioralPatterns.b_07_observer.publisher;

import top.tagao.m03_beHavioralPatterns.b_07_observer.subscriber.Observer;

/**
 * 抽象发布者
 * @author Viktor_Liu
 * @Date 2022/8/14 10:59
 */
public interface Subject {

    public void registerObserver(Observer o);
    public void removeObserver(Observer o);
    public void notifyObservers();

}

